package com.css.fxfzysx.modules.vaolEngineering.repository;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxTransformerSubstationEntity;
import com.css.fxfzysx.modules.lifeline.vo.basic.DestructiveStateVo;
import com.css.fxfzysx.modules.vaolEngineering.entity.newEntity.SmxTransformerSubstationValueEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.TsParam;
import com.css.fxfzysx.modules.vaolEngineering.param.update.TsValueParam;
import com.css.fxfzysx.modules.vaolEngineering.vo.lifelineCalculation.SmxTransformerSubstationValueVo;

import java.util.List;

public interface TsVulnerabilityRepository {
    boolean save(SmxTransformerSubstationEntity entity);

    List<SmxTransformerSubstationEntity> getByVersionId(String id);

    void saveTsResult(SmxTransformerSubstationValueEntity entity);

    List<SmxTransformerSubstationEntity> getByTableId(String id);

    List<SmxTransformerSubstationValueVo> getValueByTsId(String id);

    void updateById(TsParam tsParam);

    void delValueByTsId(String tsId);

    void saveResult(TsValueParam valueParam);

    DestructiveStateVo getByBasicInfo(SmxTransformerSubstationEntity entity,String year);

}
